package com.edu.activemq.consumer.consumer;

import org.springframework.stereotype.Component;

@Component
public class QueueConsumer {
    //
    // @JmsListener(destination = "${myqueue}")
    // public void receive(TextMessage textMessage) throws JMSException {
    //     System.out.println(textMessage.getText());
    // }
}
